#include <stdio.h>



static inline unsigned long ffz(unsigned long word)
{
	__asm__("bsfl %1,%0"
		:"=r" (word)
		:"r" (~word));
	return word;
}

int main( void )
{
	unsigned long word;

	word = ffz( 0x7E152 );

	printf( "word [0x%x].\n", word );

	return 1;
}
